package com.finance.util;

/**
 * 查询日期类型枚举
 */
public enum SearchDateType {
    MONTH("month", "按月"),
    DAY("day", "按日");

    private final String code;
    private final String description;

    SearchDateType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
} 